home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Easy 2010 May
/
Mac Life Ubuntu.iso
/
casper
/
filesystem.squashfs
/
etc
/
acpi
/
resume.d
/
50-tosh-restore-brightness.sh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
2009-03-27
|
304 b
|
13 lines
#!/bin/sh
if [ "x$TOSH_BRIGHTNESS" != "x" ]; then
# To reset the brightness...
echo 'brightness : '$TOSH_MAXBRIGHT > $TOSH_LCD
echo 'brightness : 0' > $TOSH_LCD
# And then restore it...
echo 'brightness : '$TOSH_BRIGHTNESS > $TOSH_LCD
unset TOSH_BRIGHTNESS TOSH_MAXBRIGHT
fi
unset TOSH_LCD